package com.own.component.common.login.config;

import com.own.component.common.login.AuthenticationLoginUser;
import com.own.component.common.login.user.BaseLoginUser;
import com.own.component.common.login.user.BasePermissionUser;
import com.own.component.common.login.user.DefaultLoginUser;
import com.own.component.common.login.user.DefaultPermissionUser;

import java.util.ArrayList;
import java.util.List;

/**
 * DefaultIgnoreAuthenticationLoginUser
 *
 * @author chenxueli
 * @date 2023-10-25 08:51:22
 */
public class DefaultIgnoreAuthenticationLoginUser implements AuthenticationLoginUser {

    @Override
    public BaseLoginUser loginUser() {
        return DefaultLoginUser.DEFAULT;
    }

    @Override
    public BasePermissionUser permissionUser(BaseLoginUser loginUser) {
        return DefaultPermissionUser.DEFAULT;
    }

    @Override
    public List<BaseLoginUser> loginUser(Long userId) {
        return new ArrayList<>();
    }

    @Override
    public List<BasePermissionUser> permissionUser(Long userId) {
        return new ArrayList<>();
    }

}
